package cn.tedu.csmall.order.config;

import feign.Logger;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;

@Configurable
public class DefaultFeignConfig {
//    初始化 日志对象--放在spring容器中
    @Bean
    public Logger.Level feignLogLevel(){
        return Logger.Level.FULL;
    }
}
